package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 
 *
 */
@TableName(value = "service_image")
public class ServiceImage implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceImage> createExample(){
		return new Example<ServiceImage>(ServiceImage.class);
	}

	/**  */
	@TableId(value = "image_id")
	private Long imageId;

	/** 图片地址 */
	@TableField(value = "image_url")
	private String imageUrl;

	/** 所属id */
	@TableField(value = "use_id")
	private Long useId;

	/** 图片所属：0-商品，服务等，1-商家头像 */
	private Integer type;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**商品Id*/
	@TableField(value = "product_id")
	private Long productId;

	public Long getImageId() {
		return this.imageId;
	}

	public void setImageId(Long imageId) {
		this.imageId = imageId;
	}

	public String getImageUrl() {
		return this.imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Long getUseId() {
		return this.useId;
	}

	public void setUseId(Long useId) {
		this.useId = useId;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}
}
